package com.borqsprocessmanager.adapter;

import com.borqsprocessmanager.R;

import android.annotation.SuppressLint;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;

@SuppressLint("ResourceAsColor")
public class ActionSpinnerAdapter extends ArrayAdapter<CharSequence> {

    public ActionSpinnerAdapter(Context context, int textViewResourceId,
            int actionBarItem) {
        super(context, textViewResourceId);
        // TODO Auto-generated constructor stub
    }

    @Override
    public View getView(int position, View convertView, ViewGroup parent) {
        View v = convertView;
        v.setBackgroundColor(R.color.blue);
        return v;
    }
}
